/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package view.actor;
import javax.swing.*;
import java.awt.Image;
import java.awt.event.*;
import model.utility.ImageUtility;

/**
 *
 * @author Satrio Dewantono
 */
public class Actor {
  protected int x;
  protected int y;
  protected int abs_x,abs_y;
  protected Image image;

    public Actor() {
    }

    public int getX() {
      return x;
    }

    public int getY() {
      return y;
    }

    public int getAbsX(){
      return abs_x;
    }

    public int getAbsY(){
      return abs_y;
    }

    public void setCoords(int newx,int newy){
      x = newx;
      y = newy;
    }

    public Image getImage() {
      return image;
    }

    public void setImage(Image img){
      image = img;
    }
}
